package com.dxy.yesas2020goals.study.partone.disignpattern.factorypattern.abstractfactory;

/**
 * @author victorydeng
 * @Classname KouZhaoTest
 * @Description TODO
 * @Date 2020/2/27 16:18
 * @Created by victorydeng
 */
public class KouZhaoTest {

  public static void main(String[] args) {
    KouZhaoFactory factory = new KN94KouZhaoFactory();
    factory.createBengDai().blood();
    factory.createHuMuJing().protectEyes();
    factory.createKouZhao().protect();


    KouZhaoFactory factory2 = new KN95KouZhaoFactory();
    factory2.createBengDai().blood();
    factory2.createHuMuJing().protectEyes();
    factory2.createKouZhao().protect();

    KouZhaoFactory factory3 = new KF94KouZhaoFactory();
    factory3.createBengDai().blood();
    factory3.createHuMuJing().protectEyes();
    factory3.createKouZhao().protect();




  }

}
